<!-- $Id: agency_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm" onsubmit="return confirm(batch_drop_confirm);">
<div class="list-div" id="listDiv">
{/if}

  <table cellpadding="3" cellspacing="1">
    <tr>
      <th> <input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" />
        分红队列ID </th>
      <th>分红会员</th>
      <th>分红订单编号</th>
      <th>分红时间</th>
      <th>羊款金额</th>
      <th>状态</th>
    </tr>
    {foreach from=$suppliers_list item=suppliers}
    <tr>
      <td>
	  <input type="checkbox" name="checkboxes[]" value="{$suppliers.bonus_id}" />
        {$suppliers.bonus_id}</td>
      <td class="first-cell"> <a href="users.php?act=edit&id={$suppliers.user_id}"> {$suppliers.user_name|escape:html}      </a></td>
      <td><a href="sheep_list.php?act=info&order_id={$suppliers.order_id}"> {$suppliers.order_id}</a></td>
	 <td align="center">{$suppliers.bonus_time}</td>
	 <td align="center">￥{$suppliers.money}</td>
      <td align="center">
				{if $suppliers.state eq 1}
					已返
				{else}
				<font color="red">未返</font>
				{/if}
			</td>
    </tr>
    {foreachelse}
    <tr><td class="no-records" colspan="4">{$lang.no_records}</td></tr>
    {/foreach}
  </table>
<table id="page-table" cellspacing="0">
  <tr>
    <td>
      <input name="remove" type="submit" id="btnSubmit" value="{$lang.drop}" class="button" disabled="true" />
      <input name="act" type="hidden" value="batch" />
    </td>
    <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>

{if $full_page}
</div>
</form>

<script type="text/javascript" language="javascript">
  <!--
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}

  {literal}
  onload = function()
  {
      // 开始检查订单
      startCheckOrder();
  }
  {/literal}
  //-->
</script>
{include file="pagefooter.htm"}
{/if}